﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace FunArts.EasyDevOps.Shared.Models.SshClient.KeepAlivedClient
{
    /// <summary>
    /// Keepalived配置
    /// </summary>
    public class KeepalivedConfig
    {
        /// <summary>
        /// 全局定义配置
        /// </summary>
        public GlobalDefs GlobalDefs { get; set; } = new GlobalDefs();

        /// <summary>
        /// VRRP 实例配置列表
        /// </summary>
        public List<VrrpInstance> VrrpInstances { get; set; } = new List<VrrpInstance>();

        /// <summary>
        /// 虚拟服务器(LVS)配置列表
        /// </summary>
        public List<VirtualServer> VirtualServers { get; set; } = new List<VirtualServer>();

        /// <summary>
        /// 静态跟踪脚本配置
        /// </summary>
        public List<VrrpScript> Scripts { get; set; } = new List<VrrpScript>();
    }
}
